﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySite.Model;
using MySite.DAL;

namespace MySite.BLL
{
    public class Account
    {
        #region 查询
        /// <summary>
        /// 查询
        /// </summary>
        /// <param name="where"></param>
        /// <returns></returns>
        public IList<AccountInfo> Query(string where)
        {
            return new AccountDAL().Query(where);
        }

        public IList<AccountInfo> Query(string where, int top)
        {
            return new AccountDAL().Query(where, top);
        }

        public IList<AccountInfo> Query(string where, string orderBy, int top, ref int pageCount)
        {
            return new AccountDAL().Query(where, top, 1, orderBy, ref pageCount);
        }
        #endregion
    }
}
